package com.genericdevice.platform.pages.plugins.activity;

import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import com.genericdevice.platform.R;
import com.genericdevice.platform.core.activity.AbstractActivity;
import com.genericdevice.platform.core.define.EventConstants;
import com.genericdevice.platform.core.event.EventBus;
import com.genericdevice.platform.core.logging.LoggerHelper;
import com.genericdevice.platform.pages.plugins.mvp.PluginsPresenter;

public class Plugins extends AbstractActivity<PluginsPresenter> {

    private LoggerHelper LOGGER = LoggerHelper.getInstance();

    @Override
    protected PluginsPresenter createPresenter() {
        return new PluginsPresenter();
    }

    @Override
    protected int getMenuId() {
        return R.menu.plugins;
    }

    @Override
    protected Integer getResourceId() {
        return R.xml.plugins_options_menu;
    }

    @Override
    protected Class getIdsObject() {
        return R.id.class;
    }

    @Override
    public void onBackPressed() {
        finish();
    }
}
